<template>
  <div class="main">
    <div class="test">asdfadsf</div>
  </div>
</template>

<style scoped>
.main {
  margin: 0;
  padding: 0;
  background-image: url("../assets/image/background.jpg");
  background-size: 100% 100%;
  height: 100%;
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  display: flex;
  text-align: center;
}
.test {
  margin-top: 20%;
  margin-left: 20%;
  height: 200px;
  width: 200px;
  background: #fff;
}
</style>